# function Get-GeneralParameters {
#     [CmdletBinding()]
#     [OutputType('Parameters')]
#     param (
#         [Parameter(Mandatory = $false)][Parameters]$Parameters = (New-LSParameters)
#     )

#     # Get LS Central On-Premise or SaaS.
#     $Parameters.LSCentral.Placement = Get-CentralPlacement -Placement $Parameters.LSCentral.Placement -ConfirmAll $Parameters.ConfirmAll

#     # Store 'Parameters' object in the project folder.
#     if ($Parameters.LSInsight.ParametersOutFilePath) {
#         Write-LSParameters -Parameters $Parameters -File $Parameters.LSInsight.ParametersOutFilePath
#     }

#     return $Parameters
# }